Masteriyo\AjaxHandlers\CoursePasswordProtectionHandler S

Total Complexity 31
Dependencies 4
Dependents 1
Total lines 256
Lines of code 127
Logical lines of code 69
Comment lines 97
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
process()
A
52 9 24
send_success_response()
S
53 4 23
get_start_url()
S
56 4 18
get_continue_url()
S
51 3 28
validate_password_and_course_id()
S
66 4 8
validate_nonce()
S
68 3 7
register()
S
74 1 4
is_password_correct()
S
71 1 5
set_password_cookie()
S
66 1 7
send_error_response()
S
79 1 3